﻿@model LPrisaMVC.Entities.PROVEEDOR

@{
    ViewBag.Title = "Nuevo Proveedor";
}

<h2>Datos de Proveedor</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>PROVEEDOR</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Ruc)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Ruc)
            @Html.ValidationMessageFor(model => model.Ruc)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RazonSocial)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RazonSocial)
            @Html.ValidationMessageFor(model => model.RazonSocial)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Direccion)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Direccion)
            @Html.ValidationMessageFor(model => model.Direccion)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Telefono)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Telefono)
            @Html.ValidationMessageFor(model => model.Telefono)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}
<pre></pre>
<div>
    @Html.ActionLink("Volver a la Lista de Proveedores", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
